// @basefont: 50;
 * {
    margin: 0;
    padding: 0;
}
// 清除浮动
.clearfix:after,.clearfix:before{
    content: "";
    display: table;
}
.clearfix:after{
    clear: both;
}
.clearfix{
    *zoom: 1;
}
//引入字体
@font-face {
    font-family: 'icomoon';
    src:  url('../icomoon/fonts/icomoon.eot?jiiddh');
    src:  url('../icomoon/fonts/icomoon.eot?jiiddh#iefix') format('embedded-opentype'),
      url('../icomoon/fonts/icomoon.ttf?jiiddh') format('truetype'),
      url('../icomoon/fonts/icomoon.woff?jiiddh') format('woff'),
      url('../icomoon/fonts/icomoon.svg?jiiddh#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
// 引入公共样式
//  @import "common.less";
.w {
    margin: 0 auto;
    min-width: 320px;
    max-width: 750px;
    height: 100%;
    border: 1px solid #ccc;
    background-color: rgb(246, 246, 246);
    }
a {
    text-decoration: none;
}
ul,ol {
    list-style: none;
}
//search 模块
.search {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 45px;
     z-index: 9999;
    .box {
        position: relative;
        width: 100%;
        height: 45px;
        max-width: 750px;
        min-width: 320px;
        margin: 0 auto;
        background-color: rgb(200, 37, 25);
        .search_one {
            float: left;
            width: 60px;
            height: 45px;
            line-height: 45px;
            text-align: center;
            img {
               width: 20px;
               height: 16px;
            }
        }
        .search_two {
            position: relative;
            width: 100%;
            padding: 0 90px;
            height: 45px;
            box-sizing: border-box;
            input {
                margin-top: 7px;
                padding-left: 35px;
                width: 100%;
                height: 30px;
                border: 0;
                outline: none;
                border-radius: 15px;
                box-sizing: border-box;
                color: #ccc;
                
            }
            &::before {
                content: '\e900';
                position: absolute;
                top: 12px;
                left: 100px;
                width: 20px;
                height: 20px;
                line-height: 20px;
                text-align: center;
                font-family: 'icomoon';
                font-size: 14px;
                color: #333;
            }
        }
        .search_three {
            position: absolute;
            top: 0;
            right: 0;
            float: right;
            width: 60px;
            height: 45px;
            line-height: 45px;
            text-align: center;
            span {
                font-size: 18px;
                color: #fff;
            }
        }
    }
    
}
//banner 模块
.banner {
    margin-top: 70px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    .banner_box {
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 25px;
        overflow: hidden;
        ul {
            width: 1000%;
            li {
                float: left;
                width: 10%;
                height: 100%;
                 a {
                     display: block;
                     width: 100%;
                     height: 100%;
                      img {
                          width: 100%;
                          height: auto;
                      }
                 }
        
        }
    }
        ol {
            position:absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            width: 140px;
            height: 20px;
            li {
                float: left;
                width: 10px;
                height: 10px;
                border: 1px solid #ccc;
                border-radius: 50px;
                margin-left: 10px;
                margin-top: 3px;
            }
        }
    }

}
//样式
.active {
    background-color: rgb(250, 44, 25);
}
// 组合图片
.combination_img {
    margin-top: 10px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    a {
        float: left;
        display: block;
        width: 33.33%;
        img {
            width: 100%;
            height: 150px;
        }
    }
}
//导购部分
.shoppers_nav {
    padding: 20px 20px;
    width: 100%;
    // background-color: aqua;
    box-sizing: border-box;
    text-align: center;
    li {
        float: left;
        margin-bottom: 30px;
        width: 20%;
        height: 70px;
            img {
                width: 60px;
                height: 60px;
            }
        }
    }
// 京东秒杀
.jd_Seconds_kill {
    padding: 10px;
    // margin-top: 10px;
    width: 100%;
    height: 260px;
    box-sizing: border-box;
    
    .jd_Seconds_kill_box {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        background-color: #fff;
        .jd_header {
            width: 100%;
            height: 50px;
            // border: 1px solid #333;
            padding: 10px;
            box-sizing: border-box;
            .jd_title {
                font-size: 16px;
                color: rgb(51, 51, 110);
                // line-height: 50px;
            }
            .jd_number {
                margin-left: 5px;
                font-size: 16px;
                color: rgb(255, 39, 39);
                 &::after {
                     height:20px;
                     width: 20px;
                     content: "";
                     display: inline-block;
                     vertical-align: middle;
                     background-image: url(../upload/seckill-time-to.png);
                     background-repeat: no-repeat;
                     background-position: 50%;
                     background-size: contain;
                 }
            }
            .time {
                margin-left: 10px;
              color: rgb(255, 39, 39);  
              .time_h,
              .time_m,
              .time_s {
                  background-color: rgb(255, 39, 39);
                  color: #fff;
              }
            }
            .jd_more {
                margin-right: 5px;
                float: right;
                color: rgb(245, 107, 108);
                &::after {
                    margin-left: 2px;
                    content: '\e91b';
                    font-family: 'icomoon';
                    width: 20px;
                    height: 20px;
                    text-align: center;
                    font-size: 14px;
                    color: #ccc;
                    border-radius: 50%;
                    background-color: rgb(243, 57, 57);
                }
            }
    }
    
    }
    ul {
        margin-top: 20px;
        width: 100%;
        // height: 300px;
        li {
            float: left;
            width: 16.66%;
            height: 170px;
            a {
                display: block;
                text-align: center;
                color: rgb(242, 39, 90);
                width: 100%;
                height: 100%;
                // border: 1px solid #ccc;
                img {
                    width: 100%;
                    height: auto;
                }
                .pic_2 {
                    color: rgb(153, 153, 153);
                    text-decoration: line-through;
                }
            }
           
        }
    }
}
//推荐部分
.recommended {
    padding: 10px;
    // margin-top:5px;
    width: 100%;
    height: 200px;
    box-sizing: border-box;
    .recommended_box {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        background-color: #fff; 
        .recommended_l,
        .recommended_r {
            float: left;
            padding: 10px;
            width: 50%;
            box-sizing: border-box;
           
        a {
            font-size: 16px;
            line-height: 30px;
            color: #000;
            h3 {
                font-size: 20px;
            }
            p {
                color: rgb(102, 103, 113);
            }
            img {
                display: inline-block;
                width: 25%;
                height: 86px;
            }
        }
       
    }
    }
    
 
    }
//产品部分
.goods {
    padding: 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: rgb(247, 247, 247);
    ul {
        width: 100%;
        height: 100%;
        li {
            padding: 10px 20px;
            margin-bottom: 10px;
            float: left;
            width: 50%;
            height: 540px;
            box-sizing: border-box;
            overflow: hidden;
            a {
                display: block;
                width: 100%;
                height: 100%;
                border-radius: 15px;
                overflow: hidden;
                background-color: #fff;
                img {
                    width: 100%;
                    height: auto;
                }
                p {
                    line-height: 25px;
                }
             .text{
                    font-size: 14px;
                    color: rgb(67, 67, 67);
                    img {
                        vertical-align: middle;
                        width: 20%;
                        height: 14px;
                    }
                }
               .pic{
                    margin-top: 5px;
                    font-size: 18px;
                    color: rgb(250, 77, 88);
                    span {
                        width: auto;
                        height: auto;
                        margin-left: 14px;
                        font-size: 16px;
                        border: 1px solid rgb(250,77,88);
                        border-radius: 8px;
                    }
                    
                }
                .similar {
                    margin-top: 5px;
                    float: right;
                    width: 100px;
                    height: 50px;
                    line-height: 50px;
                    text-align: center;
                    font-size: 20px;
                    color: rgb(128, 136, 149);
                    border-radius: 25px 0 0 25px;
                    background-color: rgb(240, 242, 245);
                }
            }
        }
    }
}
// 底部部分
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    .footer_ul {
        position: relative;
        top: 0;
        left: 0;
        max-width: 750px;
        min-width: 320px;
        width: 100%;
        height: 100%;
        margin: 0 auto;
        background-color: rgb(255, 255, 255);
        li {
            float: left;
            width: 20%;
            height: 100%;
            a {
                text-align: center;
                display: block;
                width: 100%;
                height: 100%;
                img {
                    width: 65px;
                    height: 50px;
                }
            }
        }
    }
}
//返回顶部
.returnTop {
    position: fixed;
    display: none;
    bottom: 150px;
    right: 35px;
    width: 30px;
    height: 30px;
    line-height:30px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #ccc;
    background-color: rgba(235, 230, 230,.4);
    span {
        color: #ccc;    
 }
}
// 京东App
.jd_app {
    position: fixed;
    top: 80px;
    right: -160px;
    width: 200px;
    height: 40px;
    line-height: 40px;
    border-radius: 25px 0 0 25px;
    background-color: rgb(243, 60, 35);
    a {
        display: block;
        margin-left: 10px;
        width: 100%;
        height: 100%;
        font-size: 16px;
        color: #fff;
        img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid #fff;
            vertical-align: middle;
        }
    }
}